package com.itheima.test.test1.thread;
/*
继承多线程的三种方式之一Thread
 */
public class MyThread extends Thread{
    @Override
    public void run() {
        //写执行的内容
        for (int i = 0; i < 100; i++) {
            System.out.println("Tread多线程执行了"+i+"次");
        }
    }
}
